projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0fb67e
)
wayland: Don't provide gsetting if dconf is not available
author
Alex Ivanov
<gnidorah@ya.ru>
Wed, 15 Nov 2017 13:08:00 +0000
(13:08 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 27 Nov 2017 00:32:52 +0000
(19:32 -0500)
This makes gtk+ fall back to reading ~/.config/gtk-3.0/settings.ini
on systems with Wayland, but without dconf (do those exist?).
https://bugzilla.gnome.org/show_bug.cgi?id=790201
gdk/wayland/gdkscreen-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkscreen-wayland.c
b/gdk/wayland/gdkscreen-wayland.c
index 9af09d4d1838c9b513bef01da7382c8b0d4bb2ae..125b4fa1026f4c10ef31b3775be053db957faae1 100644
(file)
--- a/
gdk/wayland/gdkscreen-wayland.c
+++ b/
gdk/wayland/gdkscreen-wayland.c
@@
-657,6
+657,9
@@
gdk_wayland_screen_get_setting (GdkScreen *screen,
g_return_val_if_fail (GDK_IS_SCREEN (screen), FALSE);
+ if (g_settings_schema_source_get_default () == NULL)
+ return FALSE;
+
entry = find_translation_entry_by_setting (name);
if (entry != NULL)
{